import request from '@/utils/request'

// 查询实验数据高温热物性列表
export function listDensity(query) {
  return request({
    url: 'service-ry/nature/density/list',
    method: 'get',
    params: query
  })
}

// 查询实验数据高温热物性详细
export function getDensity(id) {
  return request({
    url: 'service-ry/nature/density/' + id,
    method: 'get'
  })
}

// 新增实验数据高温热物性
export function addDensity(data) {
  return request({
    url: 'service-ry/nature/density',
    method: 'post',
    data: data
  })
}

// 修改实验数据高温热物性
export function updateDensity(data) {
  return request({
    url: 'service-ry/nature/density',
    method: 'put',
    data: data
  })
}

// 删除实验数据高温热物性
export function delDensity(id) {
  return request({
    url: 'service-ry/nature/density/' + id,
    method: 'delete'
  })
}

// 导出实验数据高温热物性
export function exportDensity(query) {
  return request({
    url: 'service-ry/nature/density/export',
    method: 'get',
    params: query
  })
}